﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Aliphant.UI.Assets
{
    /// <summary>
    /// LabelRow.xaml 的交互逻辑
    /// </summary>
    public partial class LabelRow : UserControl
    {
        public LabelRow()
        {
            InitializeComponent();
        }



        public string LabelName
        {
            get { return (string)GetValue(LabelNameProperty); }
            set { SetValue(LabelNameProperty, value); }
        }

        // Using a DependencyProperty as the backing store for LabelName.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty LabelNameProperty =
            DependencyProperty.Register("LabelName", typeof(string), typeof(LabelRow), new PropertyMetadata(string.Empty));




        public object ContentValue
        {
            get { return (object)GetValue(ContentValueProperty); }
            set { SetValue(ContentValueProperty, value); }
        }

        // Using a DependencyProperty as the backing store for ContentValue.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty ContentValueProperty =
            DependencyProperty.Register("ContentValue", typeof(object), typeof(LabelRow), new PropertyMetadata(null));




        public Thickness SegThickness
        {
            get { return (Thickness)GetValue(SegThicknessProperty); }
            set { SetValue(SegThicknessProperty, value); }
        }

        // Using a DependencyProperty as the backing store for SegThickness.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty SegThicknessProperty =
            DependencyProperty.Register("SegThickness", typeof(Thickness), typeof(LabelRow), new PropertyMetadata(null));


    }
}
